/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package butonrosu;

import butonrosu.RedFrame.Command;
import javax.swing.JMenuItem;

/**
 *
 * @author Andre
 */
public class fileExitCommand extends JMenuItem implements Command{

    private String Exit;
    
    fileExitCommand (String Exit) {
        this.Exit=Exit;
    }
    @Override
    public void execute() {
        System.exit(0);
        throw new UnsupportedOperationException("Not supported yet.");
    }
    
}
